package com.dmall.opening.up.restful.application;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class Config {

    @Bean
    public JsonHttpMessageConverter jsonHttpMessageConverter() {
        return new JsonHttpMessageConverter();
    }

    @Bean
    public RequestAndResponseLoggingFilter requestLoggingFilter() {
        return new RequestAndResponseLoggingFilter();
    }
}
